$OpenBSD: patch-src_gui_image_qxbmhandler_cpp,v 1.1.1.1 2016/12/25 14:13:11 zhuk Exp $
Avoid confusing warning from linker.
--- src/gui/image/qxbmhandler.cpp.orig	Tue Feb 17 07:56:48 2015
+++ src/gui/image/qxbmhandler.cpp	Wed Apr  8 00:38:30 2015
@@ -232,11 +232,7 @@ static bool write_xbm_image(const QImage &sourceImage,
             }
         }
     }
-#if defined(_MSC_VER) && _MSC_VER >= 1400
-    strcpy_s(p, sizeof(" };\n"), " };\n");
-#else
-    strcpy(p, " };\n");
-#endif
+    memcpy(p, " };\n", sizeof(" };\n"));
     if ((int)qstrlen(buf) != device->write(buf, qstrlen(buf))) {
         delete [] buf;
         return false;
